<!-- LEFT BAR -->
<#import "/spring.ftl" as spring/>
<#macro page >
<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav" id="side-menu" style="display: block;">
            <li class="nav-header">
                <div class="dropdown profile-element"> <span>
                    <img alt="image" class="img-circle" src="<@spring.url '/assets/images/profile_small.jpg' />">
                     </span>
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="clear"> <span class="block m-t-xs"> <strong class="font-bold">loukou</strong>
                     </span> <span class="text-muted text-xs block">超级管理员 <b class="caret"></b></span> </span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li><a href="javascript:void(0)">修改头像</a>
                        </li>
                        <li><a href="javascript:void(0)">个人资料</a>
                        </li>
                        <li><a href="javascript:void(0)">联系我们</a>
                        </li>
                        <li><a href="javascript:void(0)">信箱</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="javascript:void(0)">安全退出</a>
                        </li>
                    </ul>
                </div>
                <div class="logo-element">
                   楼口
                </div>
            </li>
            <#--li class="active">
                <a href="demo.html"><i class="fa fa-th-large"></i> <span class="nav-label">主页</span> <span class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse in">
                    <li><a href="javascript:void(0)">主页示例一</a>
                    </li>
                    <li><a href="javascript:void(0)">主页示例二</a>
                    </li>
                    <li><a href="javascript:void(0)">主页示例三</a>
                    </li>
                    <li><a href="javascript:void(0)">主页示例四</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="javascript:void(0)"><i class="fa fa-envelope"></i> <span class="nav-label">信箱 </span><span class="label label-warning pull-right">16</span></a>
                <ul class="nav nav-second-level collapse">
                    <li><a href="./demo.html" data-noajax>收件箱</a>
                    </li>
                    <li><a href="javascript:void(0)">查看邮件</a>
                    </li>
                    <li><a href="javascript:void(0)">写信</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-sitemap"></i> <span class="nav-label">菜单 </span><span class="fa arrow"></span></a>
                <ul class="nav nav-second-level collapse" aria-expanded="true">
                    <li>
                        <a href="#">三级菜单 <span class="fa arrow"></span></a>
                        <ul class="nav nav-third-level collapse">
                            <li>
                                <a href="#">三级菜单 01</a>
                            </li>
                            <li>
                                <a href="#">三级菜单 01</a>
                            </li>
                            <li>
                                <a href="#">三级菜单 01</a>
                            </li>

                        </ul>
                    </li>
                    <li><a href="#">二级菜单</a>
                    </li>
                    <li>
                        <a href="#">二级菜单</a>
                    </li>
                    <li>
                        <a href="#">二级菜单</a>
                    </li>
                </ul>
            </li-->
            <li>
                          
                <a href="#"><i class="fa fa-flask"></i> <span class="nav-label">主表</span><span class="fa arrow"></a>
                  <ul class="nav nav-second-level collapse" aria-expanded="true">

                    <li>
                        <a href="/web/supplier/index" >供应商</a>
                  	</li>	                

		           
					
                  </ul>
           </li>
 

            <li>
                <a href="#"><i class="fa fa-flask"></i> <span class="nav-label">采购</span><span class="fa arrow"></a>
                <ul class="nav nav-second-level collapse" aria-expanded="true">
                	<li>
                    	<a href="/test/example">Example</a>
                    </li>
                    <li>
                        <a href="/po_purchase/purchaseOrderList?type=1">采购进货</a>
                    </li>
                    <li>
                    	<a href="/po_purchase/purchaseReview" class="innerPageLink">采购审核</a>
                    </li>
                    <li>
                        <a href="/po_purchase/purchaseOrderList?type=-1" class="innerPageLink">采购退货</a>
                    </li>
                    <li><a href="/po_purchase/purchaseReturnReview" class="innerPageLink">采购退货审核</a>
                    </li>
                    <li>
                        <a href="/po_purchase/purchaseReturnOrderDetail" class="innerPageLink">二级菜单</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-flask"></i> <span class="nav-label">商家</span></a>
            </li>
            <li>
                <a href="#"><i class="fa fa-flask"></i> <span class="nav-label">库存</span></a>
                <ul class="nav nav-second-level collapse" aria-expanded="true">
                    <li>
                        <a href="/allocation/index">调拨单</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="#"><i class="fa fa-flask"></i> <span class="nav-label">财务</span></a>
                <ul class="nav nav-second-level collapse" aria-expanded="true">
                	<li>
                    	<a href="/purchaseReturnOrder/index">Example</a>
                    </li>                    
                </ul>
            </li>
            <#if privileges?exists&&privileges?seq_contains("user.manage")>
			<li>
				<a href="/user/viewUserList"><i class="fa fa-user"></i> <span class="nav-label">用户</span></a>
            </li>
			</#if>
        </ul>
    </div>
</nav>
<!-- / LEFT BAR -->
</#macro>